SrcFile=mqtt_connect_broker.c main.c cJSON.c ds18b20.c mosq_argc.c read_json_file.c callbacks.c
CFLAGS=-I /home/guowenxue/raspberrypi/lightd/3rdlib/mosquitto-2.0.5/include/
CFLAGS+=-I ../include
LDFLAGS=-L /home/guowenxue/raspberrypi/lightd/3rdlib/mosquitto-2.0.5/lib/ -lmosquitto
LDFLAGS+=-lm

cc=gcc

all:client

client:
	$(cc) $(SrcFile) -o my_mosquitto $(CFLAGS) $(LDFLAGS)

